.Net Framework > v3.5.21022.8 > System > Linq > Enumerable > First<TSource> First<TSource>(IEnumerable<TSource>)
First<TSource>(IEnumerable<TSource>,Func<TSource,Boolean>)


First<TSource>(IEnumerable<TSource>)

Category
Method
Description
Returns the first element of a sequence.
Type
TSource
Character
public, static
Parameters
NameTypeDescription
sourceSystem.Collections.Generic.IEnumerable<TSource>
Attributes
NameValue/Assignment
ExtensionAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

First<TSource>(IEnumerable<TSource>,Func<TSource,Boolean>)

Category
Method
Description
Returns the first element in a sequence that satisfies a specified condition.
Type
TSource
Character
public, static
Parameters
NameTypeDescription
sourceSystem.Collections.Generic.IEnumerable<TSource>
predicateSystem.Func<TSource,Boolean>
Attributes
NameValue/Assignment
ExtensionAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database